package com.ls.userlog;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan(basePackages = {"com.ls.userlog.dao"})
public class UserOperationLoggerApplication {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        SpringApplication.run(UserOperationLoggerApplication.class, args);
        long endTime = System.currentTimeMillis();
        log.info("==服务启动成功,启动时间:{}===",  endTime - startTime);
    }
}
